package com.mes.cloud.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 产品品牌
 * 
 * @author ysd
 * @email shaodong.yuan@pactera.com
 * @version 2019-08-20 15:48:07
 */
@Data
@Table(name = "product_brand")
public class ProductBrand implements Serializable {
    private static final long serialVersionUID=1L;
   /**
    * 主键
    */
	@Id
	private String id;
   /**
    * 品牌编码
    */
	@Column(name = "code")
	private String code;
   /**
    * 品牌名称
    */
	@Column(name = "name")
	private String name;
   /**
    * 品牌别名
    */
	@Column(name = "abbreviation_name")
	private String abbreviationName;
   /**
    * 品牌分类
    */
	@Column(name = "classification")
	private String classification;
   /**
    * 母品牌
    */
	@Column(name = "parent_brand")
	private String parentBrand;
   /**
    * 品牌创建日期
    */
	@Column(name = "brand_create_date")
	private String brandCreateDate;
   /**
    * 品牌故事
    */
	@Column(name = "brand_story")
	private String brandStory;
   /**
    * 品牌slogan
    */
	@Column(name = "brand_slogan")
	private String brandSlogan;
	/**
	 * 图片上传_key
	 */
	@Column(name = "brand_logo_key")
	private String brandLogoKey;
	/**
	 * 品牌_logo_url(临时）
	 */
	@Column(name = "brand_logo_url")
	private String brandLogoUrl;
   /**
    * 状态(0：禁用，1：启用)
    */
	@Column(name = "enable_flag")
	private String enableFlag;
   /**
    * 创建人
    */
	@Column(name = "create_by")
	private String createBy;
   /**
    * 创建时间
    */
	@Column(name = "create_time")
	private Date createTime;
   /**
    * 修改人
    */
	@Column(name = "update_by")
	private String updateBy;
   /**
    * 修改时间
    */
	@Column(name = "update_time")
	private Date updateTime;
   /**
    * 删除标记，1：删除，0：未删除
    */
	@Column(name = "del_flag")
	private String delFlag;
   /**
    * 更新日期
    */
	@Column(name = "update_date_str")
	private String updateDateStr;
   /**
    * 版本
    */
	@Column(name = "version")
	private Integer version;

	@Column(name = "create_by_no")
	private String createByNo;

	@Column(name = "update_by_no")
	private String updateByNo;
}
